package com.woniu.client.dto;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderDto {
    /*
     * 订单表
     */
    @ApiModelProperty(name = "id",value = "id")
    private Long id;

    /*
     * 用户选择废品大类(只能是一级类别)
     */
    @ApiModelProperty(name = "typeId",value = "用户选择废品大类(只能是一级类别)")
    private String typeId;

    /*
     * 用户预估总重量
     */
    @ApiModelProperty(name = "expectWeight",value = "用户预估总重量")
    private BigDecimal expectWeight;

    /*
     * 实物图(非必须)
     */
    @ApiModelProperty(name = "img",value = "实物图(非必须)")
    private String img;

    /*
     * 用户id
     */
    @ApiModelProperty(name = "userId",value = "用户id")
    private Long userId;

    /*
     * 下单时间
     */
    @ApiModelProperty(name = "createTime",value = "下单时间")
    private String createTime;

    /*
     * 员工id
     */
    @ApiModelProperty(name = "employId",value = "员工id")
    private Long employId;

    /*
     * 订单状态
     */
    @ApiModelProperty(name = "state",value = "订单状态")
    private Long state;

    /*
     * 实际总价
     */
    @ApiModelProperty(name = "totalPrice",value = "实际总价")
    private BigDecimal totalPrice;

    /*
     * 收货人地址
     */
    @ApiModelProperty(name = "address",value = "收货人地址")
    private String address;

    /*
     * 收货人电话
     */
    @ApiModelProperty(name = "phone",value = "收货人电话")
    private String phone;

    /*
     * 收货人姓名
     */
    @ApiModelProperty(name = "name",value = "收货人姓名")
    private String name;

    /*
    拒绝理由
    */
    @ApiModelProperty(name = "refuseReason",value = "拒绝原因")
    @TableField("refuse_reason")
    private String refuseReason;
}
